/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bmp.client.exception;



/**
 *
 * @author Admin
 */
public class ConfigException extends Exception{

    public static String ERROR_AGRUMENT_IS_NULL="Setting.SYSTEMPROPERTIES_CONFIG_FOR_ENTITYBEAN Object: agrument can't null";

    public static String ERROR_AGRUMENT_DOES_NOT_MATCH="Setting.SYSTEMPROPERTIES_CONFIG_FOR_ENTITYBEAN Object: agrument doesn't match";
    
    private String err;
    
    public ConfigException(String err){
        super(err);
        this.err=err;
        
    }

   
    public void printStrackTrace() throws ConfigException{
        throw (new ConfigException(this.err));
    }

    public String getMessage(){
        return this.err;
    }
}
